<!DOCTYPE html>
<html>
<head>
	<title>广告栏跟随页面滚动漂浮</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="css/style.css">
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<script type="text/javascript" src="js/follow.js"></script>
</head>
<body>
	<div class="header">
		
	</div>
	<div class="main">
		
		<div class="ad">
			
		</div>
	</div>
	<div class="footer">
		
	</div>
	<script type="text/javascript">
		$(function(){
			$('.ad').fixedFollow({
				duration:850
			});
		})
	</script>
</body>
</html>